#ifndef _DEVUART2_H
#define _DEVUART2_H

#ifdef BOARD_UART2
void  dev_uart2_init(unsigned long baudrate);
void  dev_uart2_send(const unsigned char* sendBuf,unsigned short int len);
unsigned char  dev_uart2_readrx(unsigned char* receiveBuf,unsigned int *readlen);
void _dev_uart2_timeprocess(void);
#define dev_uart2_timeprocess _dev_uart2_timeprocess()
#else
#define dev_uart2_init(x)
#define dev_uart2_send(x,y)
#define dev_uart2_readrx(x,y)
#define dev_uart2_timeprocess

#endif
#endif
